<template lang="html">
  <div class="rule_main">
    <ul class="rule_box">
      <li v-for='(item,index) in main'><span>{{index+1}}.</span><p>{{item}}</p></li>
    </ul>
  </div>
</template>
<script type="text/javascript">
export default {
  props:["main"],
  data () {
    return {}
  },
  methods:{

  },
  components:{

  }
}
</script>

<style scoped lang="less">
@import '../../../assets/less/index.less';
.rule_main{
  width: 100vw;
  .rule_box{
    width: @width1;
    margin: 3vw auto;
    text-align: left;
    font-size: @h3_font_size;
    line-height: 5vw;
    li{
      overflow: hidden;
      zoom:1;
      span{
        width: 5vw;
        float: left;
        font-weight: 600;
      }
      p{
        width: 83vw;
        float: right;
        display: inline-block;
      }
    }
  }
}

</style>